<template>
        <div id="app">
            <Error>
                <todos></todos>
                <componentA :name="buttonName"></componentA>
            </Error>
        </div>
</template>
<script setup>
import {ref} from 'vue'
import Error from "./errorCaptured.vue"
import todos from "./todos.vue"
import componentA from "./componentA.vue"
const buttonName=ref('你好啊')
</script>
<style>

</style>